<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script>
        console.log('pink'+18);
        console.log('pink'+18+'岁');
        var age = 18;
        //变量不要写到字符串里面,是通过和字符串相连的方式实现
        console.log('pink老师'+age+'岁')
        //变量和字符串相连的口诀 引引加加
        console.log('pink老师'+age+'岁')
    </script>
</head>
<body>

</body>
</html>